<pre><?php echo var_dump($this->data); ?></pre>

<div class="delete-site">

<div class="delete-asked">Czy na pewno chcesz usunąć przedmiot 
<?php 
	$i=0;
	foreach( $this->data as $value ) : 
 		 echo '<span class="bold">'."\"".$value['designation']."\"".'</span>'; 
 		if( $i < ( sizeof($this->data)-1 ) )
 			echo ', ';
 		$i++;
	
	endforeach; 
?> ? </div><!-- #delete-asked -->


<div class="delete-info">
	<span class="attention">UWAGA! </span> Naciśnięcie przycisku "Tak, usuń rekord" spowoduje bezpowrotne usunięcie rekordu w bazie danych.
	<br />Aby anulować operację usuwania naciśnij przycisk "Anuluj usuwanie".
</div><!-- #delete-info -->



<form action="<?php echo $this->url(array('controller'=>'subject','action'=>'delete', 'module'=>'technical')); ?>" method="post">
	<span class="hidden">
<?php
	$i=0;
	foreach( $this->data as $value ) {
?>
		<input type="checkbox" name="id[]" value="<?php echo $value['id']; ?>" />
		<input type="checkbox" name="designation[]" value="<?php echo $value['designation']; ?>" />
<?php } ?>	
	</span><!-- #hidden -->
	<input type="hidden" name="massActionSure" value="deleteAll" />
	<input type="submit" name="del" value="Tak, usuń rekord" />
	<input type="submit" name="del" value="Anuluj usuwanie" />
</form> 

</div><!-- #delete-site -->


	
	